//
//  HYNotification.h
//  zhongchuan
//
//  Created by yanghao on 9/7/16.
//  Copyright © 2016 huying. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HYNotification : NSObject
+ (void)removeAllNotification:(id)target;

//登录成功通知
#define LoginSuccessNotification @"LoginSuccessNotification"
+(void)addLoginNotification:(id)target action:(SEL)action;
+(void)postLoginNotification:(NSDictionary *)userInfo;

//定位成功，更新省份城市信息
#define LocationSuccessNotification @"LocationSuccessNotification"
+(void)addLocationNotification:(id)target action:(SEL)action;
+(void)postLocationNotification:(NSDictionary *)userInfo;

//定位失败
#define LocationFailNotification @"LocationFailNotification"
+(void)addLocationFailNotification:(id)target action:(SEL)action;
+(void)postLocationFailNotification:(NSDictionary *)userInfo;

//更新定位信息
#define LocationUpdateNotification @"LocationUpdateNotification"
+(void)addLocationUpdateNotification:(id)target action:(SEL)action;
+(void)postLocationUpdateNotification:(NSDictionary *)userInfo;

//选择专业
#define ChooseMajorNotification @"ChooseMajorNotification"
+(void)addChooseMajorNotification:(id)target action:(SEL)action;
+(void)postChooseMajorNotification:(NSDictionary *)userInfo;

//保存提现当前账户
#define GetMoneyNotification @"GetMoneyNotification"
+(void)addGetMoneyNotification:(id)target action:(SEL)action;
+(void)postGetMoneyNotification:(NSDictionary *)userInfo;

//刷新预约列表
#define AddLoadOrderRecordNotification @"AddLoadOrderRecordNotification"
+(void)addLoadOrderRecordNotification:(id)target action:(SEL)action;
+(void)postLoadOrderRecordNotification:(NSDictionary *)userInfo;

//添加上班时间
#define AddWorkTimeResultNotification @"AddWorkTimeResultNotification"
+(void)addWorkTimeResultNotification:(id)target action:(SEL)action;
+(void)postWorkTimeResultNotification:(NSDictionary *)userInfo;

//支付宝支付结果
#define AliPayResultNotification @"AliPayResultNotification"
+(void)addAliPayResultNotification:(id)target action:(SEL)action;
+(void)postAliPayResultNotification:(NSDictionary *)userInfo;

//微信支付结果
#define WeixinPayResultNotification @"WeixinPayResultNotification"
+(void)addWeixinPayResultNotification:(id)target action:(SEL)action;
+(void)postWeixinPayResultNotification:(NSDictionary *)userInfo;



//新增加
//退出登录
#define LogOutNotification @"LogOutNotification"
+(void)addLogOutNotification:(id)target action:(SEL)action;
+(void)postLogOutNotification:(NSDictionary *)userInfo;

//更新消息数据
#define UpdateMessageNotification @"UpdateMessageNotification"
+(void)addUpdateMessageNotification:(id)target action:(SEL)action;
+(void)postUpdateMessageNotification:(NSDictionary *)userInfo;


//更新预约记录数据
#define UpdateOrderReocrdNotification @"UpdateOrderReocrdNotification"
+(void)addUpdateOrderReocrdNotification:(id)target action:(SEL)action;
+(void)postUpdateOrderReocrdNotification:(NSDictionary *)userInfo;

//更新语音通话用户头像
#define UpdateCallUserHeadImgNotification @"UpdateCallUserHeadImgNotification"
+(void)addUpdateCallUserHeadImgNotification:(id)target action:(SEL)action;
+(void)postUpdateCallUserHeadImgNotification:(NSDictionary *)userInfo;

//登录过期通知
#define LoginOverdueNotification @"LoginOverdueNotification"
+(void)addLoginOverdueNotification:(id)target action:(SEL)action;
+(void)postLoginOverdueNotification:(NSDictionary *)userInfo;


//通知我的页面为登录状态
#define MineShowLoginBtnNotification @"MineShowLoginBtnNotification"
+(void)addMineShowLoginBtnNotification:(id)target action:(SEL)action;
+(void)postMineShowLoginBtnNotification:(NSDictionary *)userInfo;

//通知刷新我的页面
#define ReloadMineNotification @"ReloadMineNotification"
+(void)addReloadMineNotification:(id)target action:(SEL)action;
+(void)postReloadMineNotification:(NSDictionary *)userInfo;

@end
